package com.example.skudemo.enums;

import lombok.Getter;

@Getter
public enum StatusEnum {
    //    0表示正常,1表示禁用
    NORMAL(0, "正常数据"),
    FORBIDDEN(1, "禁用数据");

    private final int code;
    private final String message;

    StatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}